package xyz.zhzby.cyzx.cms.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zby
 * @date 2021/12/10
 */
@Data
@ApiModel("文章发布、保存的请求类")
public class ArticleAddRequest {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "内容ID")
    private Long contentId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "状态（0草稿1发布）")
    private Integer status;

    @ApiModelProperty(value = "标签ID列表")
    private List<Long> tagIds;

    @ApiModelProperty(value = "分栏ID列表(可能会创建新的，这时传的是名称)")
    private List<String> channelIds;

}
